<template>
    <div>
        <div class="label">三级菜单2</div>
        <el-button type="primary" @click="clickBtn">修改数值</el-button>
        <span>参数：{{ params }}</span>
    </div>
</template>
<script lang="ts">
export default {
    name: 'userItemOneChildTwo'
};
</script>
<script lang="ts" setup>
import { ref } from 'vue';
const params = ref(0);
const clickBtn = () => {
    params.value++;
    console.log('修改数值');
};
</script>

<style lang="scss" scoped>
.label {
    margin-bottom: 10px;
}
.el-button {
    margin-right: 10px;
}
</style>
